<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Canbot Denayer 13/14 - a: Client Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Canbot Denayer 13/14 - a
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Client Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Client" --><!-- doxytag: inherits="Thread" -->
<p>Defines the class '<a class="el" href="classClient.html" title="Defines the class &#39;Client&#39;, Which will setup the client.">Client</a>', Which will setup the client.  
 <a href="classClient.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Client_8h_source.html">Client.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Client:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classClient.png" usemap="#Client_map" alt=""/>
  <map id="Client_map" name="Client_map">
<area href="classThread.html" title="Defines the class &#39;thread&#39;, Which will setup the thread." alt="Thread" shape="rect" coords="0,0,52,24"/>
</map>
 </div></div>

<p><a href="classClient-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0bc335d720265d4d6e8a72cf7a2a9aa"></a><!-- doxytag: member="Client::run" ref="ae0bc335d720265d4d6e8a72cf7a2a9aa" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classClient.html#ae0bc335d720265d4d6e8a72cf7a2a9aa">run</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Runfunction of thead. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classClient.html#afc4022e5d0b0f5df134f11d3952fd417">receive</a> (<a class="el" href="classRobotData.html">RobotData</a> *robot, <a class="el" href="classRobotData.html">RobotData</a> *robotb, vector&lt; <a class="el" href="classPoint.html">Point</a> &gt; obstacles)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">transferring the received data  <a href="#afc4022e5d0b0f5df134f11d3952fd417"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classClient.html">Client</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classClient.html#ae60032c9d89d51ffa76963e4cd773f76">getInstance</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Making of Singleton class of type <a class="el" href="classClient.html" title="Defines the class &#39;Client&#39;, Which will setup the client.">Client</a>.  <a href="#ae60032c9d89d51ffa76963e4cd773f76"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Defines the class '<a class="el" href="classClient.html" title="Defines the class &#39;Client&#39;, Which will setup the client.">Client</a>', Which will setup the client. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae60032c9d89d51ffa76963e4cd773f76"></a><!-- doxytag: member="Client::getInstance" ref="ae60032c9d89d51ffa76963e4cd773f76" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classClient.html">Client</a> * <a class="el" href="classClient.html#ae60032c9d89d51ffa76963e4cd773f76">Client::getInstance</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Making of Singleton class of type <a class="el" href="classClient.html" title="Defines the class &#39;Client&#39;, Which will setup the client.">Client</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the Singleton instance. </dd></dl>

</div>
</div>
<a class="anchor" id="afc4022e5d0b0f5df134f11d3952fd417"></a><!-- doxytag: member="Client::receive" ref="afc4022e5d0b0f5df134f11d3952fd417" args="(RobotData *robot, RobotData *robotb, vector&lt; Point &gt; obstacles)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classClient.html#afc4022e5d0b0f5df134f11d3952fd417">Client::receive</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRobotData.html">RobotData</a> *&#160;</td>
          <td class="paramname"><em>robot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classRobotData.html">RobotData</a> *&#160;</td>
          <td class="paramname"><em>robotb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">vector&lt; <a class="el" href="classPoint.html">Point</a> &gt;&#160;</td>
          <td class="paramname"><em>obstacles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>transferring the received data </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">Pointer</td><td>of type <a class="el" href="classRobotData.html" title="Defines the class &#39;RobotData&#39;, Which will contain the position and angle of the robot aswell as the p...">RobotData</a> to ownRobot. </td></tr>
    <tr><td class="paramname">Pointer</td><td>of type <a class="el" href="classRobotData.html" title="Defines the class &#39;RobotData&#39;, Which will contain the position and angle of the robot aswell as the p...">RobotData</a> to other team's Robot. </td></tr>
    <tr><td class="paramname">Pointer</td><td>of type vector&lt;ObstacleData&gt; to the obstacles </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Boolean true if message received </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>denayer-canbot-13-14-a/src/wifi/<a class="el" href="Client_8h_source.html">Client.h</a></li>
<li>denayer-canbot-13-14-a/src/wifi/<a class="el" href="Client_8cpp.html">Client.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Apr 24 2014 11:39:28 for Canbot Denayer 13/14 - a by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
